/**      
 * @file		simpleStruct.cpp
 * @description		This example demonstrates the use of an assignment
 *			operator with structs. The assignment operator
 *			copies each member of the right hand struct into 
 *			the left hand struct
 * @course		CSCI 123 Section 00000
 * @assignment 
 * @date		mm/dd/yyyy
 * @author		Brad Rippe (00000000) brippe@fullcoll.edu
 * @version		1.0
 */
#include <iostream>
using namespace std;

// The name of the type, SimpleStruct is capitalized
struct SimpleStruct {
	int mSimpleVar1;
	int mSimpleVar2;
};

/**
 * @return zero if the application executes successfully
 */
int main() {
	SimpleStruct struct1;
	SimpleStruct struct2;

	struct1.mSimpleVar1 = 123;
	struct1.mSimpleVar2 = 34;

	struct2 = struct1;

	cout << "struct2.simpleVar1 = " << struct2.mSimpleVar1 << endl;
	cout << "struct2.simpleVar2 = " << struct2.mSimpleVar2 << endl;
	return 0;
}

